testadjustsize: Keep using an alignment
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 May 2014 00:42:01 +0000 (20:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 May 2014 00:42:01 +0000 (20:42 -0400)
We are explicitly comparing GtkAlignment with its replacements
here.

tests/testadjustsize.c

index 8b724410ad8dee4f0160a11d86b681db57f364ad..cf0040d4e87ddc1c4eb311f16e958502ed8a3b35 100644 (file)
@@ -80,7 +80,9 @@ create_alignment (void)
 {
   GtkWidget *alignment;
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* make the alignment visible */
   gtk_widget_set_redraw_on_allocate (alignment, TRUE);